/* CodeBuilder代码生成器 生成时间：2011-12-03 20:03:12 */
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using Maticsoft.DBUtility;

namespace Model
{
    /// <summary>
	/// TB_Role:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
    public class Role
    {
        public Role()
		{}
        #region Model
        private Int32? _id;
        private string _rolename;
        private Int32? _ordinal;
        private DateTime? _addtime;
        /// <summary>
		/// 主键
		/// </summary>
        [SqlField("ID",SqlDbType.Int,4)]
		public Int32? ID
		{
			set{ _id = value; }
			get{ return _id; }
		}
        /// <summary>
		/// 角色名称
		/// </summary>
        [SqlField("RoleName",SqlDbType.NVarChar,200)]
		public string RoleName
		{
			set{ _rolename = value; }
			get{ return _rolename; }
		}
        /// <summary>
		/// 排序
		/// </summary>
        [SqlField("Ordinal",SqlDbType.Int,4)]
		public Int32? Ordinal
		{
			set{ _ordinal = value; }
			get{ return _ordinal; }
		}
        /// <summary>
		/// 添加时间
		/// </summary>
        [SqlField("AddTime",SqlDbType.DateTime,8)]
		public DateTime? AddTime
		{
			set{ _addtime = value; }
			get{ return _addtime; }
		}
        #endregion Model
    }
}